import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import "./assets/styles/reset.scss"; // 引入重置样式
import { NoticeBar } from "vant"; // 配置vant
import {
  Icon,
  Sidebar,
  SidebarItem,
  Card,
  Tab,
  Tabs,
  Tag,
  Cell,
  CellGroup,
  Button,
  Overlay,
  Rate,
  Divider,
  Stepper,
} from "vant"; // 配置vant icon图标
import "vant/lib/index.css";

Vue.use(NoticeBar);

Vue.use(Icon)
  .use(Sidebar)
  .use(SidebarItem)
  .use(Card)
  .use(Tab)
  .use(Tabs)
  .use(Tag)
  .use(Cell)
  .use(CellGroup)
  .use(Button)
  .use(Overlay)
  .use(Rate)
  .use(Divider)
  .use(Stepper);

Vue.config.productionTip = false;

new Vue({
  router,
  render: (h) => h(App),
}).$mount("#app");
